package org.cem.backend;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.swt.SWT;

public class UserView extends ViewPart {

	private Object[] input = new Object[2];

	public UserView() {
		
	}

	@Override
	public void createPartControl(Composite parent) {
		TreeViewer treeViewer = new TreeViewer(parent, SWT.BORDER);
		treeViewer.setLabelProvider(new UserTreeLabelProvider());
		treeViewer.setContentProvider(new UserTreeContentProvider());
		treeViewer.setInput(input);
	}

	@Override
	public void setFocus() {
		
	}

}
